package com.wn.project.service;

import com.wn.common.PageBean;
import com.wn.entity.Document;

import java.util.List;

/**
 * @program: pms
 * @InterfaceName DocumentService
 * @description:
 * @author: LRW
 * @create: 2022-10-25 14:15
 * @Version 1.0
 **/
public interface DocumentService {

    void add(Document document);

    void deleteById(int id);

    PageBean<Document> getByCondition(Document document, int pageSize, int currPage);

    void update(Document document);

    Document getById(int id);
}
